projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5377026
)
fixup a counting error
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Aug 2020 17:39:38 +0000
(13:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Aug 2020 17:39:38 +0000
(13:39 -0400)
Remember: 1, 2, 3, _4_, 5...
testsuite/performance/test-performance.c
patch
|
blob
|
history
diff --git
a/testsuite/performance/test-performance.c
b/testsuite/performance/test-performance.c
index 2a8b6d902c5a10703882a0a6aa25cb4831320ecc..b6b53de2d1da82f33f41000136190fcfff44b743 100644
(file)
--- a/
testsuite/performance/test-performance.c
+++ b/
testsuite/performance/test-performance.c
@@
-135,10
+135,10
@@
main (int argc, char *argv[])
child_argv[1] = (char *)"--force";
child_argv[2] = (char *)"--use-trace-fd";
child_argv[3] = name;
- child_argv[
5
] = (char *)"--";
+ child_argv[
4
] = (char *)"--";
for (i = 0; i + 1 < argc; i++)
- child_argv[
6
+ i] = argv[i + 1];
- child_argv[
6
+ argc - 1] = NULL;
+ child_argv[
5
+ i] = argv[i + 1];
+ child_argv[
5
+ argc - 1] = NULL;
launcher = g_subprocess_launcher_new (0);
g_subprocess_launcher_setenv (launcher, "GTK_DEBUG_AUTO_QUIT", "1", TRUE);